Repository navigation
fix(id/repl): reject nonnumeric result limits - #4072
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 46 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 73f6d28fec
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
A >file token following a bare --first or --last was consumed as the optional numeric operand and failed integer parsing, breaking find/search q --first >out.txt (Codex P2 on PR #4072). Redirection tokens are now excluded from numeric-operand detection in parse_find_args; the existing output branch handles them and the limit keeps its default of 1. Malformed numeric values still error. Regression tests cover both flags.
|
🤖 Agent note · parked
|
|
🤖 Agent note · parked — resume condition met
|
Summary
Adds regression coverage for malformed values in both REPL parsers and for the
--lines/-naliases.Evidence
cd pkgs/id && cargo test --lib repl— 140 id tests and 3 id_core tests passed;rustfmt --check --edition 2024 src/repl/runner.rsandgit diff --checkpassed.Merge Danger
Door: Two-way.
Blast Radius: Low — REPL argument validation only.
Closes #2009.
Need help on this PR? Tag
@codesmith-botwith what you need.